package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Payment;
import org.springframework.stereotype.Service;

@Service
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo(Integer id) {
        return "-----PaymentFallbackService  paymentInfo fallback,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "-----PaymentFallbackService  paymentInfo_Timeout fallback,o(╥﹏╥)o";
    }
}
